﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabItem
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? naming_series { get; set; }
        public string? item_code { get; set; }
        public string? item_name { get; set; }
        public string? item_group { get; set; }
        public string? stock_uom { get; set; }
        public int disabled { get; set; }
        public int allow_alternative_item { get; set; }
        public int is_stock_item { get; set; }
        public int has_variants { get; set; }
        public int include_item_in_manufacturing { get; set; }
        public decimal opening_stock { get; set; }
        public decimal valuation_rate { get; set; }
        public decimal standard_rate { get; set; }
        public int is_fixed_asset { get; set; }
        public int auto_create_assets { get; set; }
        public int is_grouped_asset { get; set; }
        public string? asset_category { get; set; }
        public string? asset_naming_series { get; set; }
        public decimal over_delivery_receipt_allowance { get; set; }
        public decimal over_billing_allowance { get; set; }
        public string? image { get; set; }
        public string? description { get; set; }
        public string? brand { get; set; }
        public int shelf_life_in_days { get; set; }
        public DateOnly? end_of_life { get; set; }
        public string? default_material_request_type { get; set; }
        public string? valuation_method { get; set; }
        public string? warranty_period { get; set; }
        public decimal weight_per_unit { get; set; }
        public string? weight_uom { get; set; }
        public int allow_negative_stock { get; set; }
        public int has_batch_no { get; set; }
        public int create_new_batch { get; set; }
        public string? batch_number_series { get; set; }
        public int has_expiry_date { get; set; }
        public int retain_sample { get; set; }
        public int sample_quantity { get; set; }
        public int has_serial_no { get; set; }
        public string? serial_no_series { get; set; }
        public string? variant_of { get; set; }
        public string? variant_based_on { get; set; }
        public int enable_deferred_expense { get; set; }
        public int no_of_months_exp { get; set; }
        public int enable_deferred_revenue { get; set; }
        public int no_of_months { get; set; }
        public string? purchase_uom { get; set; }
        public decimal min_order_qty { get; set; }
        public decimal safety_stock { get; set; }
        public int is_purchase_item { get; set; }
        public int lead_time_days { get; set; }
        public decimal last_purchase_rate { get; set; }
        public int is_customer_provided_item { get; set; }
        public string? customer { get; set; }
        public int delivered_by_supplier { get; set; }
        public string? country_of_origin { get; set; }
        public string? customs_tariff_number { get; set; }
        public string? sales_uom { get; set; }
        public int grant_commission { get; set; }
        public int is_sales_item { get; set; }
        public decimal max_discount { get; set; }
        public int inspection_required_before_purchase { get; set; }
        public string? quality_inspection_template { get; set; }
        public int inspection_required_before_delivery { get; set; }
        public int is_sub_contracted_item { get; set; }
        public string? default_bom { get; set; }
        public string? customer_code { get; set; }
        public string? default_item_manufacturer { get; set; }
        public string? default_manufacturer_part_no { get; set; }
        public int published_in_website { get; set; }
        public decimal total_projected_qty { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
        public int min_pack_qty { get; set; }
    }
}
